home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / clntread.6 < prev    next >
Text File  |  1996-07-16  |  773b  |  32 lines

  1. .TH CLNTREAD
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CLNTREAD
  5.  
  6.  
  7.  
  8.  AnyType CLNTREAD( NumericType Handler, NumericType Block )
  9.  
  10. Reads one object from a communication channel of a client.
  11. Handler contains the index of the communication channel opened via
  12. CLNTEXEC. If no data is available in the communication channel, this
  13. function will block for at most Block millisecond until data is found
  14. or timeout occurs. In the latter, a single StringType object is returned
  15. with the content of "no data (timeout)".  See also CLNTWRITE, CLNTCLOSE,
  16. and CLNTEXEC.
  17.  
  18. Example:
  19.  
  20.    h2 = clntexec( "xmtdrvs -s-" );
  21.        .
  22.        .
  23.  
  24.    Model = CLNTREAD( h2 );
  25.        .
  26.        .
  27.  
  28.    clntclose( h2,TRUE );
  29.  
  30. reads one object from client through communication channel h2 and save it
  31. in variable Model.
  32.